namespace NetChinese.Interfaces
{
    /// <summary>
    /// 命令执行器接口
    /// </summary>
    public interface ICommandExecutor
    {
        /// <summary>
        /// 执行命令
        /// </summary>
        /// <param name="command">要执行的命令</param>
        /// <param name="showOutput">是否显示命令输出，默认为true</param>
        /// <returns>命令执行是否成功</returns>
        Task<bool> ExecuteCommandAsync(string command, bool showOutput = true);
    }
} 